type github.com/gotd/td/telegram/dcs.httpConn
15 uses
github.com/gotd/td/telegram/dcs (current package)
http.go#L58: type httpConn struct {
http.go#L81: func newHTTPConn(client *http.Client, urls []string, maxDelay, waitAfter, maxWait int) *httpConn {
http.go#L83: return &httpConn{
http.go#L95: var _ transport.Conn = (*httpConn)(nil)
http.go#L102: func (c *httpConn) Send(ctx context.Context, b *bin.Buffer) error {
http.go#L122: func (c *httpConn) Recv(ctx context.Context, b *bin.Buffer) error {
http.go#L138: func (c *httpConn) Close() error {
http.go#L147: func (c *httpConn) roundtrip(frame []byte) (delivered bool, _ error) {
http.go#L191: func (c *httpConn) urlIndex() int {
http.go#L195: func (c *httpConn) deliver(r recvResult) {
http.go#L205: func (c *httpConn) rotateURL() {
http.go#L213: func (c *httpConn) HTTPWaitParams() (maxDelay, waitAfter, maxWait int) {
http.go#L226: func (c *httpConn) StartHTTPWait(frame func(ctx context.Context) (*bin.Buffer, error)) {
http.go#L232: func (c *httpConn) pollLoop(frame func(ctx context.Context) (*bin.Buffer, error)) {
http.go#L272: func (c *httpConn) sleep(d time.Duration) bool {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |